package Model;

import lombok.Data;

import java.math.BigDecimal;
@Data
public class Bill {
    public int id;
    public int userId;
    public String startDate;
    public String endDate;
    public String date;
    public String url;
    public String itemName;
    public String seller;
    public String purchaser;
    public BigDecimal money;

    public Bill() {
    }

    public Bill(int id, String date, String url, String itemName, String seller, String purchaser, BigDecimal money) {
        this.id = id;
        this.date = date;
        this.url = url;
        this.itemName = itemName;
        this.seller = seller;
        this.purchaser = purchaser;
        this.money = money;
    }

    public Bill(int id, int userId, String date, String url, String itemName, String seller, String purchaser, BigDecimal money) {
        this.id = id;
        this.userId = userId;
        this.date = date;
        this.url = url;
        this.itemName = itemName;
        this.seller = seller;
        this.purchaser = purchaser;
        this.money = money;
    }
}
